package com.wangzhe;

import com.wangzhe.bean.TableInfo;
import com.wangzhe.builder.*;

import java.util.List;

/**
 * @author 王哲
 * @ClassName RunApplication
 * @create 2023--六月--上午11:36
 * @Description 启动类
 * @Version V1.0
 */
public class RunApplication {
    public static void main(String[] args) {
        List<TableInfo> tableInfos = BuilderTable.getTables();

        //创建基础类
        BuilderBase.build();

        for (TableInfo tableInfo : tableInfos) {
            BuilderPojo.builderPojo(tableInfo);
            BuilderExample.builderExample(tableInfo);
            BuilderMapper.builderMapper(tableInfo);
            BuilderMapperXml.builderMapperXml(tableInfo);
            BuilderService.builderService(tableInfo);
            BuilderServiceImpl.builderServiceImpl(tableInfo);
            BuilderController.builderController(tableInfo);
        }

    }
}
